import java.io.PrintStream;

public class Newspaper extends Issue {//газета
	double date;
    public Newspaper(String name, double d) {
        super(name);
        this.date = d;
    }
    
    public void print(PrintStream out) {
    	super.print(out);  
        out.print("Дата выхода:");
        out.println(date);
    }
}
